﻿<body>
    {#template MAIN}
    <!-- This template is used for list feedback page -->
    <table id="dataGrid" cellpadding="5" cellspacing="0" class="grid">
        <thead>
            <tr>
                <th>
                    Seq
                </th>
                <th>
                    Subject
                </th>
                <th>
                    From
                </th>
                <th>
                    Date
                </th>
                <th>
                    #
                </th>
            </tr>
        </thead>
        <tbody>
            {#foreach $T.List as item}
            <tr class="{#cycle values=['','evenRow']} {#if $T.item.Todo}alert{#/if}" id="{$T.item.FeedbackID}">
                <td align="center" style="width: 40px">
                    {$T.item$index + 1 + ($T.PageNum - 1) * $T.PageSize}
                </td>
                {#include ROW root=$T.item}
                <td style="width: 40px">
                    <a href="javascript:void(0)"
                        rel="{$T.item.FeedbackID}" class="btn remove"></a>
                </td>
            </tr>
            {#/for}
        </tbody>
    </table>
    {#/template MAIN} {#template ROW}
    <td style="width: auto">
        {$T.Subject}
    </td>
    <td style="width: 240px">
        {$T.UserID}
    </td>
    <td style="width: 200px">
        {$T.FeedbackTimeText}
    </td>
    {#/template ROW}
</body>
